package com.ruoyi.management.bank.controller;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.management.bank.ro.BankOrderListParam;
import com.ruoyi.management.bank.service.BankOrderService;
import com.ruoyi.management.bank.vo.BankOrderListVo;
import com.ruoyi.management.order.ro.GetDriverOrderEvaluateManagementParam;
import com.ruoyi.management.order.ro.GetDriverOrderManagementListParam;
import com.ruoyi.management.order.service.DriverOrderManagementService;
import com.ruoyi.management.order.vo.GetDriverOrderManagementListVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;
import java.util.List;

/**
 * 订单Controller
 *
 * @author ruoyi
 * @date 2021-12-01
 */
@RestController
@Api(tags = "管理端--银行信息查询")
@RequestMapping("/bank")
public class BankController extends BaseController {
    @Autowired
    private BankOrderService bankOrderService;


    @GetMapping("/skxx")
    @ApiOperation("建行卡收款信息查询")
    public TableDataInfo<List<BankOrderListVo>> getOrderBankOrderList(@Valid BankOrderListParam param)
    {
        startPage();
        List<BankOrderListVo> list = bankOrderService.getOrderBankOrderList(param);
        return getDataTable(list);
    }

}
